﻿<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:WpfViewers="clr-namespace:Microsoft.Samples.Kinect.WpfViewers;assembly=Microsoft.Samples.Kinect.WpfViewers" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="TSL.MainMenu"
        Title="Thai Sign Language : Main Menu" Height="579" Width="500">
	<Window.Resources>
		<ControlTemplate x:Key="ButtonControlTemplate1" TargetType="{x:Type Button}">
			<Grid>
				<Rectangle Fill="{TemplateBinding Background}" HorizontalAlignment="Left" Height="40" Stroke="{x:Null}" VerticalAlignment="Top" Width="264" StrokeThickness="0.5" RadiusX="10" RadiusY="10"/>
				<TextBlock HorizontalAlignment="Center" TextWrapping="Wrap" Text="{TemplateBinding Content}" VerticalAlignment="Center" FontSize="13.333" Foreground="White"/>
			</Grid>
		</ControlTemplate>
	</Window.Resources>
    <Grid>
    	<Button Content="Gesture Record" HorizontalAlignment="Left" Height="59.858" Margin="10,340.426,0,0" Style="{DynamicResource MyButton}" VerticalAlignment="Top" Width="464" Background="#FF2D9FD1" BorderBrush="#FF2D9FD1" Foreground="White" FontSize="24" Click="Button_Click" />
    	<Button Content="Train &amp; Verification" HorizontalAlignment="Left" Height="59.858" Margin="10,405.284,0,0" Style="{DynamicResource MyButton}" VerticalAlignment="Top" Width="464" Background="#FF2D9FD1" BorderBrush="#FF2D9FD1" Foreground="White" FontSize="24" Click="Button_Click_1" />
    	<Button Content="Exit" HorizontalAlignment="Left" Height="59.858" Margin="10,470.142,0,0" Style="{DynamicResource MyButton}" VerticalAlignment="Top" Width="464" Background="#FF2D9FD1" BorderBrush="#FF2D9FD1" Foreground="White" FontSize="24" Click="Button_Click_2" />
    	<Rectangle Fill="White" HorizontalAlignment="Center" Height="174.505" Margin="75,35,75,0" RadiusY="10" RadiusX="10" Stroke="#FF2D9FD1" StrokeThickness="2.5" VerticalAlignment="Top" Width="334"/>
    	<Label Content="TSL" HorizontalAlignment="Center" Height="88" Margin="-1,76,0,0" VerticalAlignment="Top" Width="107" FontSize="64" Background="{x:Null}" Foreground="#FF2D9FD1"/>
    	<Button Content="Translator" HorizontalAlignment="Left" Height="59.858" Margin="10,275.568,0,0" Style="{DynamicResource MyButton}" VerticalAlignment="Top" Width="464" Background="#FF2D9FD1" BorderBrush="#FF2D9FD1" Foreground="White" FontSize="24" Click="Button_Click_3" />
        
    </Grid>
</Window>
